Skip to content

Enhance data viewer#317

Open
mv-pavlukhin wants to merge 3 commits into
mainfrom
feat/data-viewer-enhancements
Open

Enhance data viewer#317
mv-pavlukhin wants to merge 3 commits into
mainfrom
feat/data-viewer-enhancements

Conversation

@mv-pavlukhin

@mv-pavlukhin mv-pavlukhin commented Jan 18, 2026

Copy link
Copy Markdown

QUAL-1724 search by name and partial name
QUAL-1728 date filter
QUAL-1752 sort

@mv-pavlukhin mv-pavlukhin added enhancement New feature or request backend labels Jan 18, 2026
f"#*{search_filter.name_part}*"
if search_filter is not None and search_filter.name_part is not None
else "#*"
)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should probably change if design to if search_filter : and than in the nested ifs do the other ones, also would be nice to have comments describing the synax since f"#{search_filter.name}" is unclear

"per_page": pages_filter.per_page,
"reverse": reverse,
}
if search_filter is not None:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of putting if for every parameter, we can iterate through parameters and assign if not value

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also, do we use timelinedb? do we use the added parameters?

else:
return []

if not isinstance(obj, (Mapping, Sequence)):

@Elad-Zaharan Elad-Zaharan Jan 22, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this change needed? it seems less conventional, am i missing something?

]

# Apply sorting if sort field is specified
if sort is not None:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think there is a bug since it happens after pagination, it will sort the paginated file not everything


AllowedSearchKeys = string.ascii_letters + string.digits + "-_*"


Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great mechanism! can you leave some comments explaining it for future developers?

@Elad-Zaharan

Copy link
Copy Markdown
Collaborator

I don't see new tests, am i missing them?
also need to run the linter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants